<script>
	import userService from '@/api/user.js'
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.getStorage({
				key: 'token',
				success: function(res) {
					console.log('已登录');
					userService.getUserInfo();
				},
				fail: function() {
					console.log('尚未登录');

				}
			});
		},
		onShow: function() {
			console.log('App Show')

		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */

	@import "./common/css/simplepro.css";
	@import "./common/css/form.css";
</style>
